package com.feige.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.feige.domain.VisitStatsDomain;
import com.feige.domain.po.VisitStatsDomainPO;
import com.feige.domain.po.VisitStatsDomainTimerPO;
import com.feige.domain.vo.SearchVo;
import com.feige.mapper.VisitStatsMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 抖音号：程序员飞哥
 * B站：https://space.bilibili.com/490711252
 * @version 1.0
 * @Title: Study512出品
 * @Description: 我们有一个学习网站：https://www.study512.com
 */
@Service
public class VisitStatsServiceImpl extends ServiceImpl<VisitStatsMapper, VisitStatsDomain> implements VisitStatsService {
    @Override
    public List<VisitStatsDomainPO> findCityPV(SearchVo searchVo) {
        return  this.baseMapper.findCityPV(searchVo);
    }

    @Override
    public List<VisitStatsDomainTimerPO> findTimerPV(SearchVo searchVo) {
        return  this.baseMapper.findTimerPV(searchVo);
    }
}
